i = 20191321
result = 1
while i <= 20191331:
    result = result * i
    i += 1
print(result)
